import mongoose from 'mongoose'
import config from '../../config'
import autoIncrement from 'mongoose-auto-increment'
let Schema = mongoose.Schema

const formsDatasSchema = new mongoose.Schema({
	  _creator: { type: Number, ref: 'forms' },
    datas:{type:Schema.Types.Mixed}

})


formsDatasSchema.methods.method1 = function method1 (password) {
  // console.log('~/src/models/form.js----这里是处理一些业务逻辑层的数据')

  return 'console 方法已经执行'
}


export default mongoose.model('forms_datas', formsDatasSchema)
